<table width="100%" height="100%" cellpadding="0" cellspacing="0">
<tr>
	<td class="side" valign="top"><div id="side">
		<ul class="links">
			<li class="big-link"><a>Lịch biểu - sự kiện</a></li>
			<li class="sub-link<?php if($this->getController() == 'Index') _e(' sub-link-current');?>"><a href="#Calendar">Lịch cá nhân</a></li>
			<li class="sub-link<?php if($this->getController() == 'Invite') _e(' sub-link-current');?> sub-link-last"><a href="#Calendar/Invite">Lịch được mời</a></li>
			<li class="big-link"><a>Lịch cơ quan</a></li>
			<li class="sub-link<?php if($this->getController() == 'Company' && !isset($_GET['department_id'])) _e(' sub-link-current');?>"><a style='font-weight:bold' href="#Calendar/Company">Lịch cơ quan</a></li>
			<?php foreach($this->get('departments') as $a ):?>
			<li class="sub-link<?php if($this->getController() == 'Company' && $a['ID'] == get('department_id') ) _e(' sub-link-current');?>"><a href="#Calendar/Company?department_id=<?php _e($a['ID']);?>"><?php _e($a['title']);?></a></li>
			<?php endforeach;?>
			<li class="big-link"><a>Bảng chấm công</a></li>
		</ul>		
	</div></td>
	<td class="content" valign="top">
		<div id="content">
			<?php $this->showContent();?>	
		</div>
	</td>
</tr>
</table>